<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;"  name="viewport" />
    {pc:get sql="select name from sy_site where siteid=1"}
	<?php $sitename=$data[0]?>
	{/pc}
    <title>
	{if $setting['meta_title']}
		{$setting['meta_title']}{if $page>1} - 第 {$page} 页{/if} - {$sitename['name']}
	{else}
		{if $id}
			{if $customtitle}
				{$customtitle}
			{/if}
			{$title} - {$sitename['name']}
		{elseif isset($SEO['title']) && !empty($SEO['title'])}
			{$SEO['title']} - {$sitename['name']
		{else}
			{$SEO['site_title']}
		{/if}
		{if $page>1} - 第 {$page} 页{/if}
	{/if}
	</title>
	<meta name="keywords" content="{if $seokey}{$seokey}{else}{$SEO['keyword']}{/if}">
	<meta name="description" content="{if $seodescription}{$seodescription}{else}{$SEO['description']}{/if}">
    <link href="{M_CSS}/common.css" rel="stylesheet" type="text/css" />
    <link href="{M_CSS}/style.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" href="/statics/layui/css/layui.css">
    <script src="/statics/layui/layui.js"></script>
    <link href="{M_CSS}/animate.css" rel="stylesheet" type="text/css" />
    <SCRIPT type="text/javascript" src="{M_JS}/jquery-1.9.1.min.js"></SCRIPT>
    <SCRIPT type="text/javascript" src="{M_JS}/TouchSlide.1.1.js"></SCRIPT>
    <SCRIPT type="text/javascript" src="{M_JS}/jquery.SuperSlide.2.1.1.js"></SCRIPT>
    <SCRIPT type="text/javascript" src="{M_JS}/common.js"></SCRIPT>
    <script type="text/javascript" src="{M_JS}/tab.js"></script>
    <style>
        .layui-btn:hover{background-color: #d4141a!important;}
    </style>
    <script type="text/javascript">
        $(function(){
            var nav=$(".nav"); //得到导航对象
            var win=$(window); //得到窗口对象
            var sc=$(document);//得到document文档对象。
            win.scroll(function(){
                if(sc.scrollTop()>=250){
                    nav.addClass("fixednav");
                    $(".navTmp").fadeIn();
                }else{
                    nav.removeClass("fixednav");
                    $(".navTmp").fadeOut();
                }
            })
        })
    </script>
    <!--健康公益 js-->
    <script type="text/javascript">
        $(document).ready(function(){
            $(".imgtext").hide();
            $(".imgbox").hover(function(){
                $(".imgtext",this).slideToggle(500);
            });
        });
    </script>

    <!--评论 js-->

    <script type="text/javascript" src="{M_JS}/fun.js"></script>
    <script type="text/javascript" src="{M_JS}/ltMove.js"></script>
    <script type="text/javascript" src="{M_JS}/list.js"></script>
    <!--案例 js-->
    <script type="text/javascript" src="{M_JS}/MSClass.js"></script>

</head>

<body>

<!-- 联系方式-->
{pc:get sql="select * from sy_contact" num="1"}
<?php $contact=$data[0];?>
{/pc}


<div class="wrapper">
    <div class="header">
      <span style="float:left;color:#1584eb;width:49%;">
        <img src="{IMG_PATH}index/logo.png" style="width: 44%;height:22px;float:left;margin-top: 24px;margin-bottom: 17px;" />
      </span>


        <span style="position: relative;float:right;margin-top: 20px;text-align: left;line-height: 15px;"><img src="{M_IMG}/phone.png" style="width: 30px;float:left;display: block;" />
            <a href="tel:<?php echo $contact['phone']?> " style="font-size: 18px;font-weight: 800;color:#2f82ff;line-height: 30px;padding-left: px;"><?php echo $contact['phone']?></a></span>

        <div style="clear:both;"></div>
    </div>
    <div class="banner" id="banner">
        <ul class="bd">
            {pc:get sql="select src,url,title from sy_banner where posid=0 order by listid ASC"}
            {loop $data $r}
            <li style="height:150px !important;"><img style="height:150px !important;" src="{$r[src]}"/></li>
            {/loop}
            {/pc}
        </ul>
        <ul class="hd"></ul>
    </div>
    <div class="nav" style="height: 75px">
        <ul>
            <li class="" style="border-left: 1px solid #ccc;border-bottom: 1px solid #ccc;width: 24.55%">
                <a href="{siteurl($siteid)}">网站首页</a>
            </li>
            {pc:content action="category" catid="0" order="listorder asc"}
			{loop $data $r}
            <li class="" style="border-left: 1px solid #ccc;border-bottom: 1px solid #ccc;width: 24.55%"><a href="{$r[url]}"   title="{$r[catname]}">{$r[catname]}</a></li>
            {/loop}
            {/pc}
			<div style="clear:both;"></div>
        </ul>
    </div>